package mybatis;

import orm.User;

/**
 * Created by fin on 2017/7/8.
 */
public interface UserDao {

    User getByName(String userName);

    User getByUId(int userId);

    void add(User user);

    void update(User user);
}
